package com.jinmdz.app.dao.model.coffin;

import com.jinmdz.app.dao.base.BaseItem;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * 确认表纸棺信息
 *
 * @author JiYanJiang
 * @date 2020-08-24 18:35
 */
public class CoffinConfirmItem extends BaseItem {

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 服务项目外键
     */
    @AnValidate(name = "服务项目外键", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 2)
    private Integer serviceItemId;

    /**
     * 二维码
     */
    @AnValidate(name = "二维码")
    @ApiModelProperty(value = "二维码", name = "qrCode", position = 3)
    private String qrCode;

    /**
     * 随机码
     */
    @AnValidate(name = "随机码")
    @ApiModelProperty(value = "随机码", name = "randomCode", position = 4)
    private String randomCode;


    /**
     * 费用外键
     */
    @AnValidate(name = "费用外键", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 5)
    private Integer chargeId;

    public String getBusinessCode() {
        return businessCode;
    }

    public CoffinConfirmItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public CoffinConfirmItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getQrCode() {
        return qrCode;
    }

    public CoffinConfirmItem setQrCode(String qrCode) {
        this.qrCode = qrCode;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public CoffinConfirmItem setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public CoffinConfirmItem setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }
}
